import { useRoutes } from 'react-router-dom'

import Home from '../src/pages/home/home'
import ManyTranslate from './pages/many-translate/many-translate'

export const routes = [
    {
        path: "",
        exact: true,
        element: <Home />
    },
    {
        path: "many-translate",
        exact: true,
        element: <ManyTranslate />
    }
]

const Routes = () => useRoutes(routes)
export default Routes